import type { FileSystemItem } from "../types/fileSystem";

// 真实业务文件系统数据
export const businessFileSystemData: Record<string, FileSystemItem[]> = {
  "/": [
    {
      name: "本地磁盘 (C:)",
      type: "folder",
      lastModified: new Date(),
      children: [],
    },
    {
      name: "本地磁盘 (D:)",
      type: "folder",
      lastModified: new Date(),
      children: [],
    },
  ],

  "/C:": [
    {
      name: "Users",
      type: "folder",
      lastModified: new Date("2024-01-15"),
      children: [],
    },
    {
      name: "Windows",
      type: "folder",
      lastModified: new Date("2024-01-10"),
      children: [],
    },
    {
      name: "Program Files",
      type: "folder",
      lastModified: new Date("2024-01-12"),
      children: [],
    },
    {
      name: "Program Files (x86)",
      type: "folder",
      lastModified: new Date("2024-01-12"),
      children: [],
    },
    {
      name: "ProgramData",
      type: "folder",
      lastModified: new Date("2024-01-08"),
      children: [],
    },
  ],

  "/C:/Users": [
    {
      name: "Administrator",
      type: "folder",
      lastModified: new Date("2024-01-20"),
      children: [],
    },
    {
      name: "Public",
      type: "folder",
      lastModified: new Date("2024-01-10"),
      children: [],
    },
    {
      name: "Default",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
  ],

  "/C:/Users/Administrator": [
    {
      name: "Desktop",
      type: "folder",
      lastModified: new Date("2024-01-20"),
      children: [],
    },
    {
      name: "Documents",
      type: "folder",
      lastModified: new Date("2024-01-19"),
      children: [],
    },
    {
      name: "Downloads",
      type: "folder",
      lastModified: new Date("2024-01-20"),
      children: [],
    },
    {
      name: "Pictures",
      type: "folder",
      lastModified: new Date("2024-01-18"),
      children: [],
    },
    {
      name: "Music",
      type: "folder",
      lastModified: new Date("2024-01-17"),
      children: [],
    },
    {
      name: "Videos",
      type: "folder",
      lastModified: new Date("2024-01-16"),
      children: [],
    },
    {
      name: "AppData",
      type: "folder",
      lastModified: new Date("2024-01-21"),
      children: [],
    },
  ],

  "/C:/Users/Administrator/Desktop": [
    {
      name: "工作文档",
      type: "folder",
      lastModified: new Date("2024-01-19"),
      children: [],
    },
    {
      name: "项目截图",
      type: "folder",
      lastModified: new Date("2024-01-18"),
      children: [],
    },
    {
      name: "我的项目.lnk",
      type: "file",
      size: 1024,
      extension: "lnk",
      lastModified: new Date("2024-01-20"),
    },
    {
      name: "备忘录.txt",
      type: "file",
      size: 4096,
      extension: "txt",
      lastModified: new Date("2024-01-21"),
    },
  ],

  "/C:/Users/Administrator/Documents": [
    {
      name: "工作报告.docx",
      type: "file",
      size: 524288,
      extension: "docx",
      lastModified: new Date("2024-01-19"),
    },
    {
      name: "项目计划.xlsx",
      type: "file",
      size: 102400,
      extension: "xlsx",
      lastModified: new Date("2024-01-18"),
    },
    {
      name: "会议记录.txt",
      type: "file",
      size: 8192,
      extension: "txt",
      lastModified: new Date("2024-01-16"),
    },
  ],

  "/C:/Users/Administrator/Downloads": [
    {
      name: "Chrome安装包.exe",
      type: "file",
      size: 67108864,
      extension: "exe",
      lastModified: new Date("2024-01-20"),
    },
    {
      name: "系统更新.msi",
      type: "file",
      size: 134217728,
      extension: "msi",
      lastModified: new Date("2024-01-19"),
    },
  ],

  "/C:/Users/Administrator/Pictures": [],
  "/C:/Users/Administrator/Music": [],
  "/C:/Users/Administrator/Videos": [],
  "/C:/Users/Administrator/AppData": [
    {
      name: "Local",
      type: "folder",
      lastModified: new Date("2024-01-21"),
      children: [],
    },
    {
      name: "Roaming",
      type: "folder",
      lastModified: new Date("2024-01-21"),
      children: [],
    },
  ],
  "/C:/Users/Administrator/AppData/Local": [],
  "/C:/Users/Administrator/AppData/Roaming": [],

  "/C:/Users/Public": [
    {
      name: "Public Desktop",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
    {
      name: "Public Documents",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
  ],
  "/C:/Users/Public/Public Desktop": [],
  "/C:/Users/Public/Public Documents": [],

  "/C:/Users/Default": [
    {
      name: "Desktop",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
    {
      name: "Documents",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
    {
      name: "AppData",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
  ],
  "/C:/Users/Default/Desktop": [],
  "/C:/Users/Default/Documents": [],
  "/C:/Users/Default/AppData": [
    {
      name: "Local",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
    {
      name: "Roaming",
      type: "folder",
      lastModified: new Date("2023-12-01"),
      children: [],
    },
  ],
  "/C:/Users/Default/AppData/Local": [],
  "/C:/Users/Default/AppData/Roaming": [],

  "/D:": [
    {
      name: "项目文件",
      type: "folder",
      lastModified: new Date("2024-01-20"),
      children: [],
    },
    {
      name: "备份",
      type: "folder",
      lastModified: new Date("2024-01-13"),
      children: [],
    },
  ],
  "/D:/项目文件": [],
  "/D:/备份": [],
};
